QT       += core gui
QT += core
QT += multimedia
QT += texttospeech
RC_ICONS = logo.ico
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    alltodolists.cpp \
    calendarfragment.cpp \
    clockfragment.cpp \
    clockitemfragment.cpp \
    counter.cpp \
    dayincalendarfragment.cpp \
    editeventfragment.cpp \
    event.cpp \
    eventfragment.cpp \
    eventtimeout.cpp \
    getclockeventdialog.cpp \
    getplandialog.cpp \
    gettodoitem.cpp \
    loader.cpp \
    main.cpp \
    mclock.cpp \
    plan.cpp \
    planitemfragment.cpp \
    smartmanager.cpp \
    test/JsonLoaderTest.cpp \
    todoitem.cpp \
    todolist.cpp \
    todolistitemfragment.cpp \
    todoshowitem.cpp \
    tomatoclockfragment.cpp

HEADERS += \
    alltodolists.h \
    bellrings.h \
    calendarfragment.h \
    clockfragment.h \
    clockitemfragment.h \
    counter.h \
    dayincalendarfragment.h \
    editeventfragment.h \
    event.h \
    eventfragment.h \
    eventtimeout.h \
    getclockeventdialog.h \
    getplandialog.h \
    gettodoitem.h \
    loader.h \
    mclock.h \
    plan.h \
    planitemfragment.h \
    smartmanager.h \
    todoitem.h \
    todolist.h \
    todolistitemfragment.h \
    todoshowitem.h \
    tomatoclockfragment.h

FORMS += \
    alltodolists.ui \
    calendarfragment.ui \
    clockfragment.ui \
    clockitemfragment.ui \
    counter.ui \
    dayincalendarfragment.ui \
    editeventfragment.ui \
    eventfragment.ui \
    eventtimeout.ui \
    getclockeventdialog.ui \
    getplandialog.ui \
    gettodoitem.ui \
    planitemfragment.ui \
    smartmanager.ui \
    todolistitemfragment.ui \
    todoshowitem.ui \
    tomatoclockfragment.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
 music.qrc \
 translation.qrc
TRANSLATIONS+= en_US.ts
TRANSLATIONS+= zh_CN.ts
